import http from "../../http.config.js"

const wish = {
    add: (params: any) => http.post('/base/userWish/add', params),
    list: (params: any) => http.get('/base/userWish/list', params),
    edit: (params: any) => http.put('/base/userWish/edit', params),
    userWish: (params: any) => http.get(`/base/userWish/${params}`),
    delete: (params: any) => http.delete(`/base/userWish/${params}`),
}

export default wish;